function svc_xxx
{
	echo $1
}

function svc_info
{
export FLDTBLDIR32=$TUXDIR/udataobj
export FIELDTBLS32=Usysfl32,tpadm

ud32 -C tpsysadm <<!
SRVCNM	.TMIB
TA_OPERATION	GET
TA_CLASS	T_SVCGRP
TA_SRVID	$1

!
#TA_SERVERNAME	WSL
#TA_SERVICENAME	sufims8103

}

#svc_info 10010
#svc_xxx AA



SVRID_LST=`cut -f 3 -d ';' ubbshm.dat`

>svc.dat

for SVRID in $SVRID_LST
do
	echo '# SVRID: '$SVRID
	svc_info $SVRID >>svc.dat
	
done
